<template>
  <div class="payment-completed">
    <div class="payment-completed-header">
      <div class="set-header">
        <div class="set-header-back" @click="goBack()">
          <van-icon name="arrow-left" />
        </div>
        <span class="set-header-title"></span>
        <van-icon class="set-header-ellipsis" name="ellipsis" />
      </div>
    </div>
    <div class="payment-completed-body">
      <ul>
        <li><img src="../img/paymentCompleted.png"></li>
        <li>
          <h1>支付完成</h1>
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
  export default {
    data() {
      return {

      }
    },
    methods: {
      goBack() {
        this.$router.push({
          path: '/Home'
        })
      }
    }
  }
</script>

<style scoped>
  .set-header {
    display: flex;
    justify-content: space-around;
    background-color: #FFFFFF;
    height: 44px;
    font-size: 16px;
    text-align: center;
    color: #333;
    align-items: center;
    border-bottom: 1px solid #DDDDDD;
  }

  .set-header-title {
    width: 300px;
  }

  /deep/.set-header-ellipsis {
    visibility: hidden;
  }

  .payment-completed-body {
    text-align: center;
    padding-top: 20px;
  }

  .payment-completed-body ul li {
    padding-top: 20px;
  }
</style>
